package cn.stylefeng.guns.modular.pandian.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.pandian.entity.PandianChoupan;
import cn.stylefeng.guns.modular.pandian.model.params.PandianChoupanParam;
import cn.stylefeng.guns.modular.pandian.model.result.PandianChoupanResult;

/**
 * 抽盘表 Mapper 接口
 */
public interface PandianChoupanMapper extends BaseMapper<PandianChoupan> {

    /**
     * 获取列表
     *
     * @author zhucx
     * @Date 2022-01-04
     */
    List<PandianChoupanResult> customList(@Param("paramCondition") PandianChoupanParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zhucx
     * @Date 2022-01-04
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") PandianChoupanParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author zhucx
     * @Date 2022-01-04
     */
    Page<PandianChoupanResult> customPageList(@Param("page") Page page, @Param("paramCondition") PandianChoupanParam paramCondition, @Param("condition") String condition, @Param("operateId")Long operateId);

    /**
     * 获取分页map列表
     *
     * @author zhucx
     * @Date 2022-01-04
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") PandianChoupanParam paramCondition);

	PandianChoupanResult findBySpec(@Param("paramCondition")PandianChoupanParam param,@Param("operateId")Long operateId);

}
